import request from "./request";

export default {
    getTableData() {
        return request({
            url: "/api/home/getTableData",
            method: "get"
        })
    },
    getMenu(params) {
        return request({
            url: "/api/permission/getMenu",
            method: "post",
            data: params
        })
    },
    getCountData(params) {
        return request({
            url: "/api/home/getCountData",
            method: "get",
            data: params
        })
    },
    getCharData(params) {
        return request({
            url: "/api/home/getCharData",
            method: "get",
            data: params
        })
    }
}